GtkWindow: better app menu fallback for CSD
authorMatthias Clasen <mclasen@redhat.com>
Sat, 16 Nov 2013 19:46:10 +0000 (14:46 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 16 Nov 2013 19:52:21 +0000 (14:52 -0500)
commit73b02933d0790dc7478d8eda3eaee0c7f0a7fef5
tree059d56abef6baa4aa3f4450694861c055b902a88
parentcb24305f1bd81051c1baf5ca2d5d0a815bf89b54
GtkWindow: better app menu fallback for CSD

Do the menubutton for app menu fallback ourselves in GtkWindow
for the csd, non-custom titlebar case. This fits better with
the way we handle other title buttons. Themes have control
over the placement of this button by placing menu in the
decoration-button-layout style property.
gtk/gtkapplicationwindow.c
gtk/gtkwindow.c
gtk/gtkwindowprivate.h